package com.qitmiaojie.service;

import com.qitmiaojie.controller.utils.GeoResult;
import com.qitmiaojie.controller.utils.Result;
import com.qitmiaojie.pojo.Leave;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qitmiaojie.pojo.dto.Examine;

import javax.servlet.http.HttpServletResponse;

/**
 *
 */
public interface LeaveService extends IService<Leave> {

    Result getStudentStream();

    Result getLastWeek();

    Result getPage(String name, String id, String examine, Integer currentPage, Integer size);

    Result getByGeography(String address);

    Result addExamine(Examine examine);

    Result updateExamineById(Integer id, String examine);

    Result updateLeave(Leave leave);

    void downLoadExcelAll(HttpServletResponse response);

    Result getDayTime();

    GeoResult getGeographyJson();
}
